package com.ruoyi.market.service;

import com.ruoyi.bizsys.domain.AppUserMark;
import com.ruoyi.bizsys.domain.ProductInfo;
import com.ruoyi.market.domain.MarketUser;
import com.ruoyi.market.mapper.MarketUserMapper;
import com.ruoyi.market.vo.MarketParamVo;
import com.ruoyi.market.vo.MarketUserLabelVo;
import com.ruoyi.market.vo.MarketUserVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class MarketUserService implements IMarketUserService {

    @Autowired
    MarketUserMapper marketUserMapper;
    @Override
    public List<MarketUserVo> selectRealNameAuthList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectRealNameAuthList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectRealNameAuthLogList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectRealNameAuthLogList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectCreditApplyList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectCreditApplyList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectCreditApplyByRiskList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectCreditApplyByRiskList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectCustBankCardList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectCustBankCardList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectCustBindCardLogList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectCustBindCardLogList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectLoanOrderList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectLoanOrderList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectIncreasedLimitLogList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectIncreasedLimitLogList(marketParamVo);
    }

    @Override
    public void batchAddMarketUser(List<MarketUser> marketUserList) {
        marketUserMapper.batchAddMarketUser(marketUserList);
    }

    @Override
    public int batchUpdateMarketUser(List<MarketUserVo> marketUserVoList) {
        return marketUserMapper.batchUpdateMarketUser(marketUserVoList);
    }

    @Override
    public List<MarketUser> selectMarketUserByState(MarketParamVo marketParamVo) {
        return marketUserMapper.selectMarketUserByState(marketParamVo);
    }

    @Override
    public void updateMarketUserState(String state1, String state2) {
        marketUserMapper.updateMarketUserState(state1,state2);
    }

    @Override
    public void updateMarketUser(List<MarketUser> marketUserList) {
        marketUserMapper.updateMarketUser(marketUserList);
    }

    @Override
    public List<MarketUserVo> selectUnregisteredPhone(MarketParamVo marketParamVo) {
        return marketUserMapper.selectUnregisteredPhone(marketParamVo);
    }

    @Override
    public List<MarketUserVo> selectNoRealNameList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectNoRealNameList(marketParamVo);
    }

    @Override
    public List<MarketUserVo> getRepaymentNotWithdrawn(MarketParamVo marketParamVo) {
        return marketUserMapper.getRepaymentNotWithdrawn(marketParamVo);
    }

    @Override
    public List<MarketUser> selectRejectMarketUser(MarketParamVo marketParam) {
        return marketUserMapper.selectRejectMarketUser(marketParam);
    }

    @Override
    public List<AppUserMark> selectAppUserMarkList(List<MarketUserLabelVo> marketUserLabelVos) {
        return marketUserMapper.selectAppUserMarkList(marketUserLabelVos);
    }

    @Override
    public List<AppUserMark> selectAppUserMarkListByTime(int intervalTime) {
        return marketUserMapper.selectAppUserMarkListByTime(intervalTime);
    }

    @Override
    public List<MarketUserVo> selectCreditLoanIouList(MarketParamVo marketParamVo) {
        return marketUserMapper.selectCreditLoanIouList(marketParamVo);
    }

}
